-
Home
-
Yoast SEO
-
23.9
-
Code
-
Classes
- Robots_Txt_Integration
Total Complexity |
37 |
Dependencies |
5 |
Dependents |
1 |
Total lines |
278 |
Lines of code |
113 |
Logical lines of code |
57 |
Comment lines |
129 |
Methods |
16 |
Properties |
3 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
register_hooks() |
S |
60 |
7 |
12 |
add_subdirectory_multisite_xml_sitemaps() |
S |
61 |
5 |
12 |
is_sitemap_enabled_for() |
S |
63 |
4 |
10 |
get_xml_sitemaps_enabled() |
S |
65 |
3 |
9 |
is_sitemap_allowed() |
S |
67 |
3 |
7 |
filter_robots() |
S |
64 |
2 |
9 |
maybe_add_xml_sitemap() |
S |
70 |
2 |
6 |
is_yoast_active_on() |
S |
76 |
2 |
3 |
is_yoast_active_for_network() |
S |
68 |
2 |
7 |
get_blog_ids() |
S |
63 |
1 |
11 |
__construct() |
S |
74 |
1 |
5 |
get_conditionals() |
S |
80 |
1 |
3 |
add_disallow_search_to_robots() |
S |
73 |
1 |
5 |
add_disallow_wp_json_to_robots() |
S |
76 |
1 |
4 |
add_disallow_adsbot() |
S |
80 |
1 |
3 |
remove_default_robots() |
S |
70 |
1 |
7 |